home *** CD-ROM | disk | FTP | other *** search
/ Your Choice 3 / Your Choice Software Collection 3.iso / dos / qpeg15e / install.dat / DRVSRC / REALTEK.ASM < prev    next >
Assembly Source File  |  1994-05-01  |  917b  |  30 lines

  1. ; Qpeg driver for SVGA cards with Realtek RTG 3105 chipset
  2. ; And probably other Realtek chips (This was actually written for a 
  3. ; PT-505 with 512k, but should work with any RTG 3105 compatible card)
  4.  
  5. ; By Christopher L. Tumber   
  6. ; aa993@freenet.carleton.ca
  7.  
  8.      .286                               
  9. Code    Segment Para 'Code'                
  10.     Assume  cs:Code                    
  11.     Org 100h                           
  12.                        
  13. Procs   dw      Bank,Init,Exit,0           
  14.                        
  15. Bank:                                   
  16.     mov     dx,3d7h         ;RTG CPU R/W port
  17.     out     dx,al
  18.     retf                               
  19.     
  20. Init:                                   
  21.     retf                               
  22.  
  23. Exit:                                   
  24.     retf                               
  25.                        
  26. Code    Ends                               
  27.      End Procs                          
  28.  
  29. ; Whew! Complicated eh?
  30.